const mongoose = require('mongoose')
const { Schema } = mongoose

const subCategorySchema = new Schema({
  id: Number,
  title: String,
  imageUrl: String,
  word: String,
  parentCategoryId: Number,
  listId: Number,
  listType: String,
}, { _id: false })

const SubCategoryModel = mongoose.model('SubCategory', subCategorySchema)

module.exports = SubCategoryModel
